

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
	手机认证 - 麦网
</title><link href="http://img.m18.com/web/c/global.css" rel="stylesheet" type="text/css" media="screen" /><link href="http://img.m18.com/web/c/mverify/mverify.css" rel="stylesheet" type="text/css" />

    <script src="http://img.m18.com/images2006/Pink/j/lib/jquery-1.3.2.min.js" type="text/javascript"></script>

    
    </head>
<body>
    <form name="aspnetForm" method="post" action="MemberPhoneEnter.aspx?Source=newCustomer&amp;ReturnURL=http%3a%2f%2fwww.m18.com" id="aspnetForm">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTg3NTU2MDA3OQ9kFgJmD2QWAgIDD2QWAgIBD2QWBgIEDxAPFgYeDURhdGFUZXh0RmllbGQFDFByb3ZpbmNlTmFtZR4ORGF0YVZhbHVlRmllbGQFClByb3ZpbmNlSUQeC18hRGF0YUJvdW5kZ2QQFSAJ6K+36YCJ5oupCeWuieW+veecgQnljJfkuqzluIIJ56aP5bu655yBCeeUmOiCg+ecgQnlub/kuJznnIEG5bm/6KW/Cei0teW3nuecgQnmtbfljZfnnIEJ5rKz5YyX55yBCeays+WNl+ecgQnpu5HpvpnmsZ8J5rmW5YyX55yBCea5luWNl+ecgQnlkInmnpfnnIEJ5rGf6IuP55yBCeaxn+ilv+ecgQnovr3lroHnnIEJ5YaF6JKZ5Y+kBuWugeWkjwnpnZLmtbfnnIEJ5bGx5Lic55yBCeWxseilv+ecgQnpmZXopb/nnIEJ5LiK5rW35biCCeWbm+W3neecgQnlpKnmtKXluIIG6KW/6JePBuaWsOeWhgnkupHljZfnnIEJ5rWZ5rGf55yBCemHjeW6huW4ghUgCeivt+mAieaLqQnlronlvr3nnIEJ5YyX5Lqs5biCCeemj+W7uuecgQnnlJjogoPnnIEJ5bm/5Lic55yBBuW5v+ilvwnotLXlt57nnIEJ5rW35Y2X55yBCeays+WMl+ecgQnmsrPljZfnnIEJ6buR6b6Z5rGfCea5luWMl+ecgQnmuZbljZfnnIEJ5ZCJ5p6X55yBCeaxn+iLj+ecgQnmsZ/opb/nnIEJ6L695a6B55yBCeWGheiSmeWPpAblroHlpI8J6Z2S5rW355yBCeWxseS4nOecgQnlsbHopb/nnIEJ6ZmV6KW/55yBCeS4iua1t+W4ggnlm5vlt53nnIEJ5aSp5rSl5biCBuilv+iXjwbmlrDnloYJ5LqR5Y2X55yBCea1meaxn+ecgQnph43luobluIIUKwMgZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dkZAIFDxBkEBUBCeivt+mAieaLqRUBCeivt+mAieaLqRQrAwFnZGQCCw8PFgQeCENzc0NsYXNzBQ52ZXJpZnlDb2RlLWJ0bh4EXyFTQgICZGRkK7ld/sZBZFqHiWTkdzTK7gi7EHg=" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


    <div id="shd2">
        <div class="wrap clearfix">
            <div class="logo">
                <a href="http://www.m18.com/" title="麦考林首页">
                    <img src="http://img.m18.com/images2006/Pink/i/comm/logo.png" alt="麦考林" /></a></div>
           
            <script type="text/javascript" src="http://login.m18.com/loginjs.aspx"></script>
        </div>
    </div>
    

    

    <script src="http://img.m18.com/web/j/lib/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
            var beforeSendMessage = '';
            var ErrorMessage = '对不起,服务器错误,请重新输入.';
            var pc = null; //当输入邮编的时候修改城市； 
            var LastPc = null;
            var vPostCodeProvince = null;

            //绑定省份下的城市
            $('#ctl00_MainPlace_cmbProvince').change(function() {

                var vp = $('#ctl00_MainPlace_cmbProvince').val();
                var liMessage = document.getElementById("liCityMessage");
                if (vPostCodeProvince.indexOf(vp.substring(0, 2)) > 0) {
                    liMessage.style.display = "None";
                    $("#PostCodeProvince").val("right");
                }
                else {
                    $("#PostCodeProvince").val("error");
                    liMessage.className = "etips ml10";
                    liMessage.style.display = "inline-block";
                    liMessage.innerHTML = "您填写的邮编不属于" + vp + "，请修改。";
                }
                AjaxRequstFnWithProvince('ctl00_MainPlace_cmbCity');

            });
            //绑定城市下的地区
            $('#ctl00_MainPlace_cmbCity').change(function() {
                if (pc != null && pc != $('#ctl00_MainPlace_cmbCity').val() && $('#ctl00_MainPlace_txtPostCode1').val().length > 0) {
                    if ($('#PostCodeMsg').val() != "error") {
                        $("#liCityMessage").css("display", "inline-block");
                        if ($("#PostCodeProvince").val() != "error") {
                            $("#liCityMessage").attr("class", "etips ml10").html("地区与邮编不匹配，将影响发货速度");
                        }
                    }
                } else {
                    //$("#liCityMessage").show();
                    document.getElementById("liCityMessage").style.display = "inline-block";
                    $("#liCityMessage").attr("class", "dtips ml10").html("邮编和地区一定要匹配，保证最快的发货速度");
                }
                if ($('#ctl00_MainPlace_txtAddress').val().length == 0 && $('#ctl00_MainPlace_cmbProvince').val() != '0' && $('#ctl00_MainPlace_cmbCity').val() != '0') {
                    if ($('#ctl00_MainPlace_cmbProvince').val() != $('#ctl00_MainPlace_cmbCity').val()) {
                        $('#ctl00_MainPlace_txtAddress').val($('#ctl00_MainPlace_cmbProvince').val() + $('#ctl00_MainPlace_cmbCity').val());
                    }
                    else {
                        $('#ctl00_MainPlace_txtAddress').val($('#ctl00_MainPlace_cmbProvince').val());
                    }
                }

            });

            $('#ctl00_MainPlace_txtPostCode1').keyup(function() {
                if ($('#ctl00_MainPlace_txtPostCode1').val().length == 6) {
                    AjaxRequstFnWithPostCode('ctl00_MainPlace_cmbCity');
                    $("#liCityMessage").attr("class", "Display:None").html("");
                    $("#liPostalCode").attr("class", "Display:None").html("");
                }
                else {
                    vPostCodeProvince = null;
                    $("#liCityMessage").attr("class", "Display:None").html("");
                    $("#PostCodeProvince").val("right");
                }
            });

            function AjaxRequstFnWithPostCode(id) {
                $.ajax({
                    type: "GET",
                    url: '../Order/GetAddressInfo.aspx',
                    processData: false,
                    dataType: "text",
                    data: 'PostCode=' + escape($('#ctl00_MainPlace_txtPostCode1').val()),
                    beforeSend: function(XMLHttpRequest) {
                        $('#' + id).html(beforeSendMessage);
                    },
                    success: function(data) {
                        FormatDataPostCode(data, "1");
                        // FormatData(data, id); //格式化字符串
                    },
                    complete: function(XMLHttpRequest, textStatus) {
                    },
                    error: function(XMLHttpRequest, textStatus, errorThrown) {
                        alert(ErrorMessage);
                    }
                });
            }
            function AjaxRequstFnWithProvince(id) {
                $.ajax({
                    type: 'GET',
                    url: '../Order/GetAddressInfo.aspx',
                    processData: false,
                    dataType: 'text',
                    data: 'ProvinceID=' + escape($('#ctl00_MainPlace_cmbProvince').val()),
                    beforeSend: function(XMLHttpRequest) {
                        $('#' + id).html(beforeSendMessage);
                    },
                    success: function(data, textStatus) {
                        FormatData(data, id); //格式化字符串
                    },
                    complete: function(XMLHttpRequest, textStatus) {
                    },
                    error: function(XMLHttpRequest, textStatus, errorThrown) {
                        alert(ErrorMessage);
                        $('#showResult').html(ErrorMessage);
                    }
                });
            }
            //格式化字符串
            function FormatData(data, id) {
                var items = data.split('$');
                var value = '';
                var text = '';

                for (var i = 0; i < items.length; i++) {

                    value = items[i].substr(0, items[i].indexOf("|"));
                    text = items[i].substr(items[i].indexOf("|") + 1, items[i].length);
                    if (value == LastPc && LastPc != null && LastPc.length > 0) {
                        $('#' + id).append('<option value="' + value + '" selected="selected">' + text + '</option>');
                    }
                    else {
                        $('#' + id).append('<option value="' + value + '">' + text + '</option>');
                    }
                }
                if (LastPc != pc && LastPc != null && LastPc != "请选择" && pc != "请选择" && pc != null && LastPc != null) {
                    //$("#liCityMessage").show();
                    $("#liCityMessage").css("display", "inline-block");
                    $("#liCityMessage").attr("class", "etips ml10").html("地区与邮编不匹配，将影响发货速度");
                    //CityError.style.display = "inline-block";
                    //CityError.innerHTML = "地区与邮编不匹配，将影响发货速度 ";
                }

            }
            function FormatDataPostCode(data, tt) {
                if (data.length > 0) {
                    var qianlen = data.toString().indexOf('@');
                    vPostCodeProvince = data.substring(qianlen, data.length);
                    if (qianlen > 0) {
                        data = data.toString().substring(0, qianlen);
                    }
                   
                    $("#PostCodeProvince").val("right");

                    var pv1 = data.split('|')[0];
                    var pc1 = data.split('|')[1];
                    LastPc = pc1;
                    pc = LastPc;

                    $("#ctl00_MainPlace_cmbProvince").val(pv1);

                    AjaxRequstFnWithProvince('ctl00_MainPlace_cmbCity');

                    if (pv1 == "请选择") {
                        //$("#liPostalCode").show();
                        //document.getElementById("liPostalCode").style.display = "inline-block";
                        $("#liPostalCode").css("display", "inline-block");

                        $("#liPostalCode").attr("class", "etips ml10").html("您填写的邮编不存在");
                        $("#PostCodeMsg").val("error");
                    }
                    else {
                        if ($('#ctl00_MainPlace_txtAddress').val().length == 0 && $('#ctl00_MainPlace_cmbProvince').val() != '0' && $('#ctl00_MainPlace_cmbCity').val() != '0') {
                            if (pv1 != pc1) {
                                $('#ctl00_MainPlace_txtAddress').val(pv1 + pc1);
                            }
                            else {
                                $('#ctl00_MainPlace_txtAddress').val(pv1);
                            }
                        }
                        $("#PostCodeMsg").val("right");

                    }
                }
            }

        }); 
       
    </script>

    <script language="javascript" type="text/javascript">

        function eLeave() {
            var v1 = document.getElementById("step2").style.display;
            if (v1 == "block") {
                return '若离开页面，就不能完成手机认证的操作！';
            }
        }
        function onLoad() {

            window.onbeforeunload = null;
        }
        window.onbeforeunload = eLeave;	   
	    
    </script>

    <link href='http://img.m18.com/web/c/global.css' rel='stylesheet' type='text/css'
        media='screen' />
    <link href="http://img.m18.com/web/c/mverify/mverify.css" rel="stylesheet" type="text/css" />

    <script src="http://img.m18.com/images2006/Pink/j/lib/jquery-1.3.2.min.js" type="text/javascript"></script>

    <div class="wrap" id="mverify">
        <div id="step1">
            <h1 class="mb20 mt20" style="display: None">
                手机认证</h1>
            <div class="newUser-verify mb20 mt20 f14" style="display: Block">
                <a href="http://login.m18.com/RegisterSuccess.aspx" class="fr a2">跳过手机认证步骤>></a>恭喜您注册成功，继续完成手机认证：</div>
            <div class='mb10 ntips'>注册后24小时内完成手机认证，并填写收货地址信息，可获得20元优惠礼券和1000积分！</div>
            <div class="mverify-con">
                <ul class="mverify-step clearfix f14 fb">
                    <li class="step-1-cur step-1">1.填写手机号</li>
                    <li class="step-2">2.填写手机收到的验证码</li>
                    <li class="step-3">3.手机认证成功</li>
                </ul>
                <div class="mverify-detail">
                    
                    <div class="tips-con mb10" id="tipDiv2" style="display: none">
                        <div class="tips-detail">
                            <p>
                                系统会给您的手机重新发送验证码。</p>
                        </div>
                    </div>
                    <div class="verify-form">
                        <div id="newCustomerdiv" style="display: Block">
                            <ul>
                                <li class="clearfix mb10">
                                    <label class="f14" for="mNum1">
                                        填写手机号码：</label><input name="ctl00$MainPlace$txtCellphone1" type="text" maxlength="11" id="ctl00_MainPlace_txtCellphone1" class="text veriy-tips" />
                                    <span class="dtips ml10">手机号码是11位数字</span><span class="etips ml10" id="CellphoneIsExist1"></span><span
                                        class="etips ml10" id="ErrorCellphone1">请输入正确的手机号，是11位数字，且是13，14，15，18开头。</span></li>
                                <li class="clearfix mb10">
                                    <label class="f14" for="userName">
                                        收货人：</label><input name="ctl00$MainPlace$txtCustomerName" type="text" maxlength="5" id="ctl00_MainPlace_txtCustomerName" class="text short" onblur="ContactNameChange(this)" onfocus="ContactNameGet()" /><span class="etips ml10" id="ErrorCustomerName">请填写您的真实姓名，最多五个汉字</span><span
                                                class="dtips ml10" id="tipCustomerName">请填写您的真实姓名，最多五个汉字</span></li>
                                <li class="clearfix mb10">
                                    <label class="f14" for="postcode">
                                        邮编：</label><input name="ctl00$MainPlace$txtPostCode1" type="text" maxlength="6" id="ctl00_MainPlace_txtPostCode1" class="text short" autocomplete="off" /><span class="dtips ml10" id="liPostalCode">请填写准确的<a
                                                href="http://cpdc.com.cn/postcdQueryAction.do?reqCode=gotoQueryPostAddr" target="_blank"
                                                class="a2">邮编（点这里查询）</a>，以确保商品尽快送达</span></li>
                                <li class="clearfix mb10">
                                    <label class="f14" for="area">
                                        所在省市：</label><div class="fl">
                                            <select name="ctl00$MainPlace$cmbState" id="ctl00_MainPlace_cmbState" style="display: none">
	<option value="CN">中国</option>

</select>
                                            <select name="ctl00$MainPlace$cmbProvince" id="ctl00_MainPlace_cmbProvince">
	<option value="请选择">请选择</option>
	<option value="安徽省">安徽省</option>
	<option value="北京市">北京市</option>
	<option value="福建省">福建省</option>
	<option value="甘肃省">甘肃省</option>
	<option value="广东省">广东省</option>
	<option value="广西">广西</option>
	<option value="贵州省">贵州省</option>
	<option value="海南省">海南省</option>
	<option value="河北省">河北省</option>
	<option value="河南省">河南省</option>
	<option value="黑龙江">黑龙江</option>
	<option value="湖北省">湖北省</option>
	<option value="湖南省">湖南省</option>
	<option value="吉林省">吉林省</option>
	<option value="江苏省">江苏省</option>
	<option value="江西省">江西省</option>
	<option value="辽宁省">辽宁省</option>
	<option value="内蒙古">内蒙古</option>
	<option value="宁夏">宁夏</option>
	<option value="青海省">青海省</option>
	<option value="山东省">山东省</option>
	<option value="山西省">山西省</option>
	<option value="陕西省">陕西省</option>
	<option value="上海市">上海市</option>
	<option value="四川省">四川省</option>
	<option value="天津市">天津市</option>
	<option value="西藏">西藏</option>
	<option value="新疆">新疆</option>
	<option value="云南省">云南省</option>
	<option value="浙江省">浙江省</option>
	<option value="重庆市">重庆市</option>

</select>
                                            <select name="ctl00$MainPlace$cmbCity" id="ctl00_MainPlace_cmbCity">
	<option value="请选择">请选择</option>

</select>
                                            <span class="etips ml10" id="liCityMessage">地区与邮编不匹配，将影响发货速度</span>
                                        </div>
                                </li>
                                <li class="clearfix mb10">
                                    <label class="f14" for="address">
                                        详细地址：</label><input name="ctl00$MainPlace$txtAddress" type="text" id="ctl00_MainPlace_txtAddress" class="text long" onblur="AddressChange(this)" onfocus="AddressGet()" /><span class="etips ml10" id="AddressError">收货人地址不够详细</span><span
                                                class="dtips ml10" id="tipAddress">请填写您的详细地址</span></li>
                                <li class="clearfix mb10">
                                    <label class="f14" for="verifyCode">
                                        填写右图验证码：</label><input name="ctl00$MainPlace$checknum1" type="text" maxlength="4" id="ctl00_MainPlace_checknum1" class="text short veriy-tips" onblur="checknum1Change(this)" /><a id="loginChangeImage"
                                                class="imgchange" href="javascript:void(0);"><img src="http://verifycode.m18.com/getimg.aspx?guid=D7514481285E49558C57175879D444E2"
                                                    id="verImglogin" class="vm" border="0" />
                                                点击图片换一张</a> <span class="etips ml10" id="checkError1">请输入图片中的4位字符</span><span class="dtips ml10">请输入图片中的4位字符</span></li>
                            </ul>
                            <div class="ml135 mt20">
                                <a id="ctl00_MainPlace_lnkbtn" class="verifyCode-btn" href="javascript:__doPostBack('ctl00$MainPlace$lnkbtn','')"></a>
                                <span class="mt10 block">验证码会以短信的形式发送到您的手机上。</span></div>
                        </div>
                        <div id="oldCustomerdiv" style="display: None">
                            <ul>
                                <li class="clearfix mb10">
                                    <label class="f14" for="mNum">
                                        填写手机号码：</label><input name="ctl00$MainPlace$txtCellphone2" type="text" maxlength="11" id="ctl00_MainPlace_txtCellphone2" class="text veriy-tips" /><span
                                            class="dtips ml10">手机号码是11位数字</span><span class="etips ml10" id="CellphoneIsExist2"></span><span
                                                class="etips ml10" id="ErrorCellphone2">请输入正确的手机号，是11位数字，且是13，14，15，18开头。</span></li>
                                <li class="clearfix mb10">
                                    <label class="f14" for="verifyCode">
                                        填写右图验证码：</label><input name="ctl00$MainPlace$checknum2" type="text" maxlength="4" id="ctl00_MainPlace_checknum2" class="text short veriy-tips" onblur="checknum2Change(this)" />
                                    <a id="loginChangeImage2" class="imgchange" href="javascript:void(0);">
                                        <img src="http://verifycode.m18.com/getimg.aspx?guid=D7514481285E49558C57175879D444E2" id="verImglogin2" class="vm"
                                            border="0" />
                                        点击图片换一张</a> <span class="etips ml10" id="checkError2">请输入图片中的4位字符</span><span class="dtips ml10">请输入图片中的4位字符</span></li>
                            </ul>
                            <div class="ml135 mt20">
                                <a id="ctl00_MainPlace_lnkbtn2" class="verifyCode-btn" href="javascript:__doPostBack('ctl00$MainPlace$lnkbtn2','')"></a><span class="mt10 block">验证码会以短信的形式发送到您的手机上。</span></div>
                        </div>
                        <div class="bnote" id="bottomNote1">
                            <p class="fb lower mb10">
                                如果您手机长时间收不到验证码：</p>
                            <p class="lower">
                                有时由于网络通讯异常会造成短信丢失或延时，这种情况是属于正常的。需要您耐心等待一下，或者过会儿再重新试一下。 麦网发给您的验证码在两个小时之内填写都是有效的。如果您在延时收到短信，并且是在2个小时之内，重新进行一次手机认证，填写之前收到的验证码也可以完成手机认证。</p>
                        </div>
                        <div id="bottomNote2">
                            <div class="bnote liFloat clearfix">
                                <p class="fb lower mb10">
                                    手机认证可以获得的好处：</p>
                                <ul class="lower">
                                    <li>1.手机认证之后，可以立即获得<span class="color-red">20</span>元优惠礼券及<span class="color-red">1000</span>积分。</li>
                                    <li>2.可使用<span class="color-red">手机号登录麦考林</span>。</li>
                                    <li>3.可以通过手机轻松找回遗失的密码。</li>
                                    <li>4.订单发货后会通过短信通知您。</li>
                                </ul>
                            </div>
                            <div class="bnote liFloat2 clearfix mt10">
                                <p class="fb lower mb10 bor-t pt10">
                                    优惠礼券规则：</p>
                                <ul class="lower">
                                    <li>1.请在注册成功后<span class="color-red">24</span>小时内完成手机认证。</li>
                                    <li>2.购物满<span class="color-red">100</span>元可使用<span class="color-red">20</span>元优惠礼券。</li>
                                    <li>3.礼券有效期为获得礼券后的<span class="color-red">15</span>天。</li>
                                    <li>4.使用优惠券的订单退换货时不退券，退款将先扣除优惠券已抵用金额。</li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="step2" style="display: none">
            <h1 class="mb20 mt20">
                手机认证</h1>
            <div class='mb10 ntips'>注册后24小时内完成手机认证，并填写收货地址信息，可获得20元优惠礼券和1000积分！</div>
            <div class="mverify-con">
                <ul class="mverify-step clearfix f14 fb">
                    <li class="step-1">1.填写手机号</li>
                    <li class="step-2-cur step-2">2.填写手机收到的验证码</li>
                    <li class="step-3">3.手机认证成功</li>
                </ul>
                <div class="mverify-detail">
                    <div class="tips-con mb10">
                        <div class="tips-detail">
                            <p>
                                麦网已经将验证码发送到您的手机上。如果1分钟内没有收到验证短信，请点击
                                
                                <a href="javascript:void(0)" onclick="canclealert()" class="a2">重新发送验证码</a><br>
                                请在下面输入手机收到验证码（由<span class="color-red fb">6</span>位数字组成）</p>
                        </div>
                    </div>
                    <div class="verify-form">
                        <ul>
                            <li class="clearfix mb10">
                                <label class="f14">
                                    你的手机号码：</label><span class="quiet f14 mNum"><div id="cellphonediv">
                                    </div>
                                    </span></li>
                            <li class="clearfix mb10">
                                <label class="f14">
                                    填写收到的验证码：</label><input name="ctl00$MainPlace$txtValidateCode" type="text" maxlength="6" id="ctl00_MainPlace_txtValidateCode" tabindex="1" class="text short" onblur="ValidateCodeChange(this)" onfocus="ValidateCodeGet()" />
                                <span class="etips ml10" id="ValidateCodeError">您输入的验证码格式不正确，请重新输入。</span><span class="dtips ml10"
                                    id="tipValidateCode">请填写手机收到的6位验证码。</span> </li>
                        </ul>
                        <div class="ml135 mt20">
                            <a onclick="javascript:return clientCheck();" id="ctl00_MainPlace_lnkCheckValidate" class="verifyconfirm-btn" href="javascript:__doPostBack('ctl00$MainPlace$lnkCheckValidate','')"></a>
                        </div>
                        <div class="bnote" id="bottomNote3">
                            <p class="fb lower mb10">
                                如果您手机长时间收不到验证码：</p>
                            <p class="lower">
                                有时由于网络通讯异常会造成短信丢失或延时，这种情况是属于正常的。需要您耐心等待一下，或者过会儿再重新试一下。 麦网发给您的验证码在两个小时之内填写都是有效的。如果您在延时收到短信，并且是在2个小时之内，重新进行一次手机
                                认证，填写之前收到的验证码也可以完成手机认证。</p>
                        </div>
                        <div class="bnote liFloat2 clearfix mt10" id="bottomNote4">
                            <p class="fb lower mb10 bor-t pt10">
                                优惠礼券规则：</p>
                            <ul class="lower">
                                <li>1.请在注册成功后<span class="color-red">24</span>小时内完成手机认证。</li>
                                <li>2.购物满<span class="color-red">100</span>元可使用<span class="color-red">20</span>元优惠礼券。</li>
                                <li>3.礼券有效期为获得礼券后的<span class="color-red">15</span>天。</li>
                                <li>4.使用优惠券的订单退换货时不退券，退款将先扣除优惠券已抵用金额。</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <input type="hidden" id="PostCodeProvince" />

    <script type="text/ecmascript">
        $("input.veriy-tips").focus(function() {
            $(this).siblings(".etips").css("display", "none");
            $(this).siblings(".dtips").css("display", "inline-block");
        })
        $("input.veriy-tips").blur(function() {
            $(this).siblings(".dtips").css("display", "none");
        })
        $("#ctl00_MainPlace_txtCellphone1").blur(function() {
            var mp = $(this).val(), intMp = parseInt(mp).toString();

            if (mp.length != 11) {
                $(this).siblings(".etips").css("display", "inline-block");
                $("#CellphoneIsExist1").css("display", "None");
                return;
            }
            if (intMp.length != 11) {
                $(this).siblings(".etips").css("display", "inline-block");
                $("#CellphoneIsExist1").css("display", "None");
                return;
            }

            if (intMp.substring(0, 2) != 15 && intMp.substring(0, 2) != 13 && intMp.substring(0, 2) != 18 && intMp.substring(0, 2) != 14) {
                $(this).siblings(".etips").css("display", "inline-block");
                $("#CellphoneIsExist1").css("display", "None");
                return;
            }
        })
        $("#ctl00_MainPlace_txtCellphone2").blur(function() {
            var mp = $(this).val(), intMp = parseInt(mp).toString();

            if (mp.length != 11) {
                $(this).siblings(".etips").css("display", "inline-block");
                $("#CellphoneIsExist2").css("display", "None");
                return;
            }
            if (intMp.length != 11) {
                $(this).siblings(".etips").css("display", "inline-block");
                $("#CellphoneIsExist2").css("display", "None");
                return;
            }

            if (intMp.substring(0, 2) != 15 && intMp.substring(0, 2) != 13 && intMp.substring(0, 2) != 18 && intMp.substring(0, 2) != 14) {
                $(this).siblings(".etips").css("display", "inline-block");
                $("#CellphoneIsExist2").css("display", "None");
                return;
            }
        })
        $(document).ready(function() {
            //document.getElementById("ctl00_MainPlace_txtCustomerName").focus();
            $("#txtCellphone1").focus();
        })
        
    </script>

    <script language="javascript" type="text/javascript">

        function ContactNameChange(obj) {
            var regex = /^[\u4e00-\u9fa5]{0,}$/;
            if (Trim(obj.value).length == 0) {
                document.getElementById("tipCustomerName").style.display = "None";
                document.getElementById("ErrorCustomerName").style.display = "inline-block";
                document.getElementById("ErrorCustomerName").innerHTML = "请填写您的真实姓名，最多五个汉字";
            } else
                if (!regex.test(Trim(obj.value))) {
                document.getElementById("tipCustomerName").style.display = "None";
                document.getElementById("ErrorCustomerName").style.display = "inline-block";
                document.getElementById("ErrorCustomerName").innerHTML = "请输入正确的汉字";
            }
            else {
                document.getElementById("ErrorCustomerName").style.display = "None";
                document.getElementById("tipCustomerName").style.display = "None";
            }

            if (Trim(obj.value).length == 0) {
                document.getElementById("tipCustomerName").style.display = "None";
                document.getElementById("ErrorCustomerName").style.display = "inline-block";
                document.getElementById("ErrorCustomerName").innerHTML = "请填写您的真实姓名，最多五个汉字";
            }
        }
        function ContactNameGet() {
            document.getElementById("tipCustomerName").style.display = "inline-block";
            document.getElementById("ErrorCustomerName").style.display = "None";
        }
        function PostCodeGet() {
            document.getElementById("tipPostCode").style.display = "inline-block";
            document.getElementById("ErrorPostCode").style.display = "None";
        }

        function AddressGet() {
            document.getElementById("tipAddress").style.display = "inline-block";
            document.getElementById("AddressError").style.display = "None";
        }
        function AddressChange(obj) {
            if (Trim(obj.value).length < 6) {
                document.getElementById("AddressError").style.display = "inline-block";
                document.getElementById("tipAddress").style.display = "none";
                document.getElementById("AddressError").innerHTML = "收货人地址不够详细";

                return false;
            }
            else {
                document.getElementById("AddressError").style.display = "None";
                document.getElementById("tipAddress").style.display = "None";
            }
            if (Trim(obj.value).length > 0) {
                var reg = /[\u4E00-\u9FA5]/g
                if (!reg.test(obj.value)) {
                    document.getElementById("AddressError").style.display = "inline-block";
                    document.getElementById("tipAddress").style.display = "none";
                    document.getElementById("AddressError").innerHTML = "请填写准确的详细地址，以确保商品尽快送达";

                    return false;
                }
            }

        }
        function checknum1Change(obj) {
            if (Trim(obj.value).length < 4) {
                document.getElementById("checkError1").style.display = "inline-block";
            }
        }
        function checknum2Change(obj) {
            if (Trim(obj.value).length < 4) {
                document.getElementById("checkError2").style.display = "inline-block";
            }
        }
        function Trim(str) {    /** 去掉空格方法*/
            return ToCDB(str).replace(/(^\s*)|(\s*$)/g, "");
        }
        function ToCDB(str) {
            var tmp = "";
            for (var i = 0; i < str.length; i++) {
                if (str.charCodeAt(i) == 12288) {   /** 去掉全角空格方法*/
                    tmp += String.fromCharCode(32);
                }
                else {
                    tmp += String.fromCharCode(str.charCodeAt(i));
                }
            }
            return tmp
        }       

    </script>

    <input type="hidden" id="PostCodeMsg" />
    <input type="hidden" id="hidVerifyCodeUrl" value="http://verifycode.m18.com/getimg.aspx" />
    <input type="hidden" id="hidVerifyCodeLogin" value="D7514481285E49558C57175879D444E2" />
    <input type="hidden" id="hidValidate" value="" />
    <input type="hidden" id="hidCellphone" value="" />
    <input type="hidden" id="hidContactID" value="4394311070" />
    <input type="hidden" id="hidSendTime" value="" />

    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
            var ErrorMessage = '对不起,服务器错误,请重新输入.';
            //绑定省份下的城市
            $('#ctl00_MainPlace_lnkbtn2').click(function() {
                var v1 = $("#hidVerifyCodeLogin").val();
                var v2 = document.getElementById("ctl00_MainPlace_checknum2").value;
                var cellphone = document.getElementById("ctl00_MainPlace_txtCellphone2").value;
                var cellphone0 = document.getElementById("hidCellphone").value;
                if (cellphone == cellphone0 && Trim(cellphone).length == 11) {
                    alert("您提交的手机号码已经认证过了，无需再次认证。");
                    return false;
                }
                if (Trim(cellphone).length != 11) {
                    $("#ErrorCellphone2").css("display", "inline-block");
                    return false;
                }
                if (document.getElementById("ErrorCellphone2").style.display == "inline-block") {
                    return false;
                }
                if (document.getElementById("CellphoneIsExist2").style.display == "inline-block") {
                    return false;
                }
                if (Trim(v2).length > 0) {
                    // M18Web.Member.MemberService.VerifyCodeCheck(v1, v2, getR2); //检查页面随机验证码
                    AjaxRequstVerifyCodeCheck(v1, v2, "second");
                    return false;
                }
                else {//checkError1
                    document.getElementById("checkError2").style.display = "inline-block";
                    return false;
                }

            });
            $('#ctl00_MainPlace_lnkbtn').click(function() {
                var v1 = $("#hidVerifyCodeLogin").val();
                var v2 = document.getElementById("ctl00_MainPlace_checknum1").value;
                var cellphone = document.getElementById("ctl00_MainPlace_txtCellphone1").value;
                var contactid = document.getElementById("hidContactID").value;
                var postcode = document.getElementById("ctl00_MainPlace_txtPostCode1").value;
                var cmbProvince = document.getElementById("ctl00_MainPlace_cmbProvince").value;
                var cmbCity = document.getElementById("ctl00_MainPlace_cmbCity").value;
                var txtAddress = document.getElementById("ctl00_MainPlace_txtAddress").value;
                var customername = document.getElementById("ctl00_MainPlace_txtCustomerName").value;

                document.getElementById("cellphonediv").innerHTML = cellphone;

                if (Trim(cellphone).length == 0 || Trim(cellphone).length != 11) {
                    document.getElementById("ErrorCellphone1").style.display = "inline-block";

                    return false;
                }
                if (document.getElementById("ErrorCellphone1").style.display == "inline-block") {
                    return false;
                }
                if (document.getElementById("CellphoneIsExist1").style.display == "inline-block") {
                    return false;
                }
                if (Trim(postcode).length != 6) {
                    $("#liPostalCode").css("display", "inline-block");
                    $("#liPostalCode").attr("class", "etips ml10").html("请填写正确的邮编");
                    return false;
                }
                if ($("#PostCodeProvince").val() == "error") {
                    return false;
                }
                if ($('#PostCodeMsg').val() != "right") {
                    $("#liPostalCode").css("display", "inline-block");
                    $("#liPostalCode").attr("class", "etips ml10").html("您填写的邮编不存在");
                    return false;
                }
                if (Trim(cmbProvince).length == 0 || Trim(cmbCity).length == 0 || Trim(cmbProvince) == "请选择" || Trim(cmbCity) == "请选择") {

                    $("#liCityMessage").css("display", "inline-block");
                    $("#liCityMessage").attr("class", "etips ml10").html("请选择所在省市");

                    return false;
                }
                if (Trim(txtAddress).length < 6) {
                    document.getElementById("AddressError").style.display = "inline-block";

                    return false;
                }
                if (Trim(customername).length == 0) {
                    document.getElementById("ErrorCustomerName").style.display = "inline-block";

                    return false;
                }

                if (Trim(v2).length > 0) {
                    AjaxRequstVerifyCodeCheck(v1, v2, "first"); //检查页面随机验证码
                    return false;
                }
                else {//checkError1
                    document.getElementById("checkError1").style.display = "inline-block";
                    return false;
                }
            });
            function AjaxRequstVerifyCodeCheck(V1, V2, FromStep) {
                $.ajax({
                    type: "GET",
                    url: '../Order/GetAddressInfo.aspx',
                    cache: false,
                    processData: false,
                    dataType: "text",
                    data: 'oldGuid=' + V1 + "&verifyCode=" + V2 + "&Exec=Verify",
                    beforeSend: function(XMLHttpRequest) {
                    },
                    success: function(data) {
                        if (FromStep != "second") {
                            getR1(data);
                        }
                        else {
                            getR2(data);
                        }
                        // FormatData(data, id); //格式化字符串
                    },
                    complete: function(XMLHttpRequest, textStatus) {
                    },
                    error: function(XMLHttpRequest, textStatus, errorThrown) {
                        alert(ErrorMessage);
                    }
                });

                function getR1(result) {
                    if (result != "succeed") {
                        if (result == "loginout") {
                            alert("登录超时，请重新登录！");
                            window.location.href = 'http://login.m18.com/default.aspx';
                            return false;
                        }
                        else {
                            //alert(result);
                            document.getElementById("ctl00_MainPlace_checknum1").value = "";
                            document.getElementById("checkError1").style.display = "inline-block";
                            GetVerifyCode("login", $("#hidVerifyCodeLogin").val());
                            return false;
                        }
                    }
                    else {     //检查页面随机验证码成功后将数据提交到webservice请求短信验证               
                        var cellphone = document.getElementById("ctl00_MainPlace_txtCellphone1").value;
                        var contactid = document.getElementById("hidContactID").value;
                        var postcode = document.getElementById("ctl00_MainPlace_txtPostCode1").value;
                        var cmbProvince = document.getElementById("ctl00_MainPlace_cmbProvince").value;
                        var cmbCity = document.getElementById("ctl00_MainPlace_cmbCity").value;
                        var txtAddress = document.getElementById("ctl00_MainPlace_txtAddress").value;
                        var customername = document.getElementById("ctl00_MainPlace_txtCustomerName").value;

                        document.getElementById("cellphonediv").innerHTML = cellphone;

                        if (Trim(cellphone).length == 0) {
                            document.getElementById("ErrorCellphone1").style.display = "inline-block";
                            return false;
                        }
                        if (Trim(postcode).length != 6) {
                            $("#liPostalCode").css("display", "inline-block");
                            $("#liPostalCode").attr("class", "etips ml10").html("请填写正确的邮编");
                            return false;
                        }
                        if ($('#PostCodeMsg').val() != "right") {
                            $("#liPostalCode").css("display", "inline-block");
                            $("#liPostalCode").attr("class", "etips ml10").html("您填写的邮编不存在");
                            return false;
                        }
                        if (Trim(cmbProvince).length == 0 || Trim(cmbCity).length == 0 || Trim(cmbProvince) == "请选择" || Trim(cmbCity) == "请选择") {
                            $("#liCityMessage").css("display", "inline-block");
                            $("#liCityMessage").attr("class", "etips ml10").html("请选择所在省市");

                            return false;
                        }
                        if (Trim(txtAddress).length < 6) {
                            document.getElementById("AddressError").style.display = "inline-block";
                            return false;
                        }
                        if (Trim(customername).length == 0) {
                            document.getElementById("ErrorCustomerName").style.display = "inline-block";
                            return false;
                        }

                        //alert(cellphone + contactid + postcode + cmbProvince + cmbCity + txtAddress);

                        AjaxRequstbtn1Send(cellphone, contactid, postcode, cmbProvince, cmbCity, txtAddress, customername);

                        return true;
                    }
                }
                function AjaxRequstbtn1Send(cellphone, contactid, postcode, cmbProvince, cmbCity, txtAddress, customername) {
                    $.ajax({
                        type: "GET",
                        url: '../Order/GetAddressInfo.aspx',
                        cache: false,
                        processData: false,
                        dataType: "text",
                        data: 'cellphone=' + cellphone + "&contactid=" + contactid + "&txtPostCode1=" + postcode + "&cmbProvince=" + escape(cmbProvince) + "&cmbCity=" + escape(cmbCity) + "&txtAddress=" + escape(txtAddress) + "&customername=" + escape(customername) + "&firstCheck=true",
                        beforeSend: function(XMLHttpRequest) {
                        },
                        success: function(data) {
                            getR11(data);
                        },
                        complete: function(XMLHttpRequest, textStatus) {
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) {
                            alert(ErrorMessage);
                        }
                    });
                }
                function AjaxRequstbtn2Send(cellphone, contactid) {
                    $.ajax({
                        type: "GET",
                        url: '../Order/GetAddressInfo.aspx',
                        cache: false,
                        processData: false,
                        dataType: "text",
                        data: 'cellphone=' + cellphone + "&contactid=" + contactid + "&secondCheck=true",
                        beforeSend: function(XMLHttpRequest) {
                        },
                        success: function(data) {
                            getR11(data);
                        },
                        complete: function(XMLHttpRequest, textStatus) {
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) {
                            alert(ErrorMessage);
                        }
                    });
                }
                function getR2(result) {
                    if (result != "succeed") {
                        if (result == "loginout") {
                            alert("登录超时，请重新登录！");
                            window.location.href = 'http://login.m18.com/default.aspx';
                            return false;
                        }
                        else {
                            // alert(result);
                            document.getElementById("ctl00_MainPlace_checknum2").value = "";
                            document.getElementById("checkError2").style.display = "inline-block";
                            GetVerifyCode("login2", $("#hidVerifyCodeLogin").val());
                            return false;
                        }
                    }
                    else { //检查页面随机验证码成功后将数据提交到webservice请求短信验证
                        // alert("麦网已经将手机验证码发送到您的手机上。");
                        var cellphone = document.getElementById("ctl00_MainPlace_txtCellphone2").value;
                        var contactid = document.getElementById("hidContactID").value;
                        document.getElementById("cellphonediv").innerHTML = cellphone;
                        //M18Web.Member.MemberService.btn2Send(cellphone, contactid, getR11);

                        AjaxRequstbtn2Send(cellphone, contactid);

                        return true;
                    }
                }
                var oldYear = "";
                var oldMonth = "";
                var oldDate = "";
                var oldhour = "";
                var oldmin = "";
                var oldsec = "";
                function getR11(result1) {
                    if (result1.length == 6) {
                        alert("麦网已经将手机验证码发送到您的手机上。");
                        document.getElementById("step1").style.display = "None";
                        document.getElementById("step2").style.display = "block";
                        document.getElementById("hidValidate").value = result1;
                        //                document.getElementById("ctl00_MainPlace_txtValidateCode").focus(); //验证码输入框得到焦点
                        document.title = "手机认证，填写手机验证码 – 麦网";
                        var sendDate = new Date();

                        oldYear = sendDate.getFullYear();
                        oldMonth = Number(sendDate.getMonth()) + 1;
                        oldDate = sendDate.getDate();

                        oldhour = sendDate.getHours();
                        oldmin = sendDate.getMinutes();
                        oldsec = sendDate.getSeconds();


                        $("#hidSendTime").val(oldYear + "|" + oldMonth + "|" + oldDate + "|" + oldhour + "|" + oldmin + "|" + oldsec);

                        var bottomNote = '2';
                        if (bottomNote == "1") {
                            bottomNote1.style.display = "None";
                            bottomNote2.style.display = "None";
                            bottomNote3.style.display = "Block";
                            bottomNote4.style.display = "None";
                        }
                        else {
                            bottomNote1.style.display = "None";
                            bottomNote2.style.display = "None";
                            bottomNote3.style.display = "Block";
                            bottomNote4.style.display = "Block";
                        }

                        return false;
                    }
                    else if (result1 == "oldSuccess") {
                        document.location.href = "MemberPhoneSucceed.aspx?Type=isOld";
                    }
                    else if (result1 == "loginout") {
                        alert("登录超时，请重新登录！");
                        window.location.href = 'http://login.m18.com/default.aspx';
                        return false;
                    }
                    else if (result1 == "isExist") {
                        $("#CellphoneIsExist1").css("display", "inline-block").html("该手机号已经认证！");
                        $("#CellphoneIsExist2").css("display", "inline-block").html("该手机号已经认证！");
                        alert("该手机号已经认证！");
                        return false;
                    }
                    else {
                        document.getElementById("step2").style.display = "None";
                        document.getElementById("step1").style.display = "block";
                        return false;
                    }
                }
            }

        });
    </script>

    

    <script language="javascript" type="text/javascript">
        //验证码更换
        $("#loginChangeImage").bind("click", function() {
            GetVerifyCode("login", $("#hidVerifyCodeLogin").val());
            document.getElementById("ctl00_MainPlace_checknum1").value = "";
        });
        //验证码更换
        $("#loginChangeImage2").bind("click", function() {
            GetVerifyCode("login2", $("#hidVerifyCodeLogin").val());
            document.getElementById("ctl00_MainPlace_checknum2").value = "";
        });

        //取验证码
        var loginService = 'MemberService.asmx';

        var VerifyCodeUrl = $("#hidVerifyCodeUrl").val();


        function GetVerifyCode(catalog, oldGuid) {
            $.ContentLoader(loginService + "/GetVerifyCode", "{oldGuid:'" + oldGuid + "'}",
			 function(data) {
			     var msg = eval('(' + data + ')');
			     if (catalog == "login") {
			         $("#hidVerifyCodeLogin").val(msg.d);
			         $("#verImglogin").attr("src", VerifyCodeUrl + "?guid=" + msg.d)
			     }
			     else {
			         $("#hidVerifyCodeLogin").val(msg.d);
			         $("#verImglogin2").attr("src", VerifyCodeUrl + "?guid=" + msg.d)
			     }
			 }, function() {
			     alert("服务器错误,请刷新页面后重新再试！");
			 });
        }
        //----------------------------------Static Method-----------------------
        $.ContentLoader = function(url, data, callback, error) {
            $.ajax({
                url: url,
                data: data,
                type: "POST",
                contentType: "application/json; charset=utf-8",
                success: callback,
                error: error
            });
        };

        var bottomNote = '2';

        if (bottomNote == "1") {
            bottomNote1.style.display = "Block";
            bottomNote2.style.display = "None";
            bottomNote3.style.display = "None";
            bottomNote4.style.display = "None";
        }
        else {
            bottomNote1.style.display = "None";
            bottomNote2.style.display = "Block";
            bottomNote3.style.display = "None";
            bottomNote4.style.display = "None";
        }
        

    </script>

    

    <script language="javascript" type="text/javascript">
        function ValidateCodeChange() {
            var ValidCode = document.getElementById("hidValidate").value;
            var EnterCode = document.getElementById("ctl00_MainPlace_txtValidateCode").value;
            if (Number(EnterCode) >= 0) {
                if (ValidCode != EnterCode) {
                    document.getElementById("tipValidateCode").style.display = "None";
                    document.getElementById("ValidateCodeError").style.display = "inline-block";
                    document.getElementById("ValidateCodeError").innerHTML = "您输入的验证码不正确，请重新输入。";
                    document.getElementById("ctl00_MainPlace_txtValidateCode").value = "";
                    return false;
                }
                else {

                    document.getElementById("tipValidateCode").style.display = "None";
                    return true;
                }
            }
            else {
                document.getElementById("tipValidateCode").style.display = "None";
                document.getElementById("ValidateCodeError").style.display = "inline-block";
                document.getElementById("ValidateCodeError").innerHTML = "您输入的验证码格式不正确，请重新输入。";
                document.getElementById("ctl00_MainPlace_txtValidateCode").value = "";
                return false;
            }
        }
        function ValidateCodeGet() {
            document.getElementById("tipValidateCode").style.display = "inline-block";
            document.getElementById("ValidateCodeError").style.display = "None";
        }
    
    </script>

    

    <script type="text/javascript" language="javascript">
        function canclealert() {
            document.getElementById("step2").style.display = "None"; //返回第一步
            document.getElementById("step1").style.display = "block"; //返回第一步

            document.getElementById("newCustomerdiv").style.display = "None"; //这个时候客户地址已经保存到数据库
            document.getElementById("oldCustomerdiv").style.display = "block";  //所以显示的时候显示老客户的形式

            document.getElementById("ctl00_MainPlace_checknum2").value = "";  //清空数据
            document.getElementById("ctl00_MainPlace_txtValidateCode").value = "";
            GetVerifyCode("login2", $("#hidVerifyCodeLogin").val()); //重新获取验证码
            document.title = "手机认证，重新获取验证码 - 麦网";

            if (document.getElementById("tipDiv1") != undefined) {
                document.getElementById("tipDiv1").style.display = "None";
            }
            if (document.getElementById("tipDiv2") != undefined) {
                document.getElementById("tipDiv2").style.display = "block";
            }

            document.getElementById("ctl00_MainPlace_txtCellphone2").focus();

            if (document.getElementById("ctl00_MainPlace_txtCellphone1").value.length > 0) {
                document.getElementById("ctl00_MainPlace_txtCellphone2").value = document.getElementById("ctl00_MainPlace_txtCellphone1").value;
            }
            else {
                document.getElementById("ctl00_MainPlace_txtCellphone2").value = document.getElementById("ctl00_MainPlace_txtCellphone2").value;
            }
            var bottomNote = '2';

            if (bottomNote == "1") {
                bottomNote1.style.display = "Block";
                bottomNote2.style.display = "None";
                bottomNote3.style.display = "None";
                bottomNote4.style.display = "None";
            }
            else {
                bottomNote1.style.display = "None";
                bottomNote2.style.display = "Block";
                bottomNote3.style.display = "None";
                bottomNote4.style.display = "None";
            }
        }

        function clientCheck() {
            var va1 = document.getElementById("hidValidate").value;
            var va2 = document.getElementById("ctl00_MainPlace_txtValidateCode").value;
            var cellphone = null;
            if (document.getElementById("ctl00_MainPlace_txtCellphone1").value.length > 0) {
                cellphone = document.getElementById("ctl00_MainPlace_txtCellphone1").value;
            }
            else {
                cellphone = document.getElementById("ctl00_MainPlace_txtCellphone2").value;
            }
            var contactid = document.getElementById("hidContactID").value;

            var oldtime = $("#hidSendTime").val();


            var now = new Date();
            var nowYear = now.getFullYear();
            var nowMonth = Number(now.getMonth()) + 1;
            var nowDate = now.getDate();

            var nowhour = now.getHours();
            var nowmin = now.getMinutes();
            var nowsec = now.getSeconds();


            var sYear = nowYear - oldtime.split('|')[0];
            var sMonth = Number(nowMonth) - Number(oldtime.split('|')[1]);
            var sDate = nowDate - oldtime.split('|')[2];
            var sHour = nowhour - oldtime.split('|')[3];
            var smin = nowmin - oldtime.split('|')[4];
            var ssec = nowsec - oldtime.split('|')[5];

            var passDate = Number(sYear) * 365 * 24 * 60 * 60 + Number(sMonth) * 30 * 24 * 60 * 60 + Number(sDate) * 6 * 60 * 60 + Number(sHour) * 60 * 60 + Number(smin) * 60 + Number(ssec);

            if (va1 == va2) {

                if (Number(passDate) > Number(7200)) {
                    document.getElementById("ValidateCodeError").style.display = "inline-block";
                    document.getElementById("ValidateCodeError").innerHTML = "您填写的验证码不正确，请重新输入。";
                    //document.getElementById("ctl00_MainPlace_txtValidateCode").focus();
                    document.getElementById("ctl00_MainPlace_txtValidateCode").value = "";
                    return false;
                }
                onLoad();
                return true;
            }
            else {
                document.getElementById("ValidateCodeError").style.display = "inline-block";
                //document.getElementById("checkError2").style.display = "inline-block";
                document.getElementById("ValidateCodeError").innerHTML = "您输入的验证码不正确，请重新输入。";
                //                document.getElementById("ctl00_MainPlace_txtValidateCode").focus();
                return false;
            }
        }
        window.onload = function aa() {
            if (document.getElementById("newCustomerdiv").style.display != "none") {
                document.getElementById("ctl00_MainPlace_txtCellphone1").focus();
            }
            if (document.getElementById("oldCustomerdiv").style.display != "none") {
                document.getElementById("ctl00_MainPlace_txtCellphone2").focus();
            }
        }
       
    </script>

    

      <div id="sft2">
        <ul class="ft-nav">
            <li class="buyico"><a href="http://static.m18.com/help/buyshow/help2_1.shtml" target="_blank">
                观看购物演示</a></li>
            <li class="first"><a target="_blank" href="http://static.m18.com/help/guanyu.shtml">
                关于麦网</a></li>
            <li><a target="_blank" href="http://static.m18.com/help/ditu.shtml">网站地图</a></li>
            <li><a target="_blank" href="http://static.m18.com/help/jiaru.shtml">加入麦网</a></li>
            <li><a target="_blank" href="http://static.m18.com/help/maiwangzhaoshang.shtml">麦网招商</a></li>
            <li><a target="_blank" href="http://www.m18.com/Market/ServiceResearch.aspx">麦网调查</a></li>
        </ul>
        <div class="copyright">
            <a target="_blank" href="http://www.miibeian.gov.cn/">ICP证: 沪ICP备05003606号</a>Copyright&copy;2000-2010
            MecoxLane Inc. All Rights Reserved</div>
    </div>
    
    </form>
</body>
</html>
